import request from '@/utils/request'

// 根据字典类型查询字典数据信息
export function getDicts (dictType) {
  return request({
    url: '/admin-api/api/v1/dict/databytype/' + dictType,
    method: 'get'
  })
}
/**
 * 获取计费单位
 * http://192.168.88.247:4999/web/#/283?page_id=2503 Dqp2zDvz
 * @returns
 */
export function getChargeUnit (params) {
  return request({
    url: '/charge/admin/api/v1/charge_unit',
    params
  })
}
